package com.atguigu.lease;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Arrays;

@SpringBootApplication
public class AdminWebApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(AdminWebApplication.class, args);
        String[] names = run.getBeanDefinitionNames();
        Arrays.sort(names);
        for (String name : names) {
//            System.out.println(name);
        }

    }
}
